platformDependency

fun platformDependency(coordinates: Coordinates, version: DependencyVersion = DependencyVersion.IntelliJPlatform)

Adds a dependency on the test-framework library or its variant, required for testing plugins.

The version, if absent, is determined by the IntelliJ Platform build number. If the exact version is unavailable, and the BuildFeature.USE_CLOSEST_VERSION_RESOLVING flag is set to true, the closest available version is used, found by scanning all releases in the repository.

Parameters

coordinates

IntelliJ Platform dependency coordinates

artifactId

IntelliJ Platform dependency artifactId

version

IntelliJ Platform dependency version